package cn.stylefeng.guns.modular.demos.mapper;

import cn.stylefeng.guns.modular.demos.entity.EduAttendanceInfo;
import cn.stylefeng.guns.modular.demos.model.params.EduCourseSelectionInfoParam;
import cn.stylefeng.guns.modular.demos.model.result.EduCourseSelectionInfoResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * TODO
 *
 * @author xuemeng
 * @version 1.0
 * @date 2023/12/23 16:34
 */
public interface EduAttendanceInfoMapper extends BaseMapper<EduAttendanceInfo> {


    /**
     * 获取分页实体列表
     *
     * @author Frey Wang
     * @Date 2022-11-09
     */
    Page<EduCourseSelectionInfoResult> customPageList(@Param("page") Page page, @Param("paramCondition") EduCourseSelectionInfoParam paramCondition);

    /**
     *
     * @param refKey
     * @param studentId
     */
    void deleteByRefKeyAndStuendId(@Param("refKey")String refKey,@Param("studentId")String studentId);

}
